<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: select2-css" />
	<th:block th:include="include :: header('修改用户')" />
</head>
<body>
<div class="form-content">
	<form class="form-horizontal" id="form-carInfo-edit" th:object="${carInfo}">
		<input name="userId"  type="hidden"  th:field="*{id}" />
		<h4 class="form-header h4">机械设备履历信息</h4>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 行车证编号：</label>
					<div class="col-sm-8">
						<input name="xczNo" autocomplete="off" placeholder="请输入行车证编号" class="form-control" type="text" maxlength="30" th:field="*{xczNo}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"><span style="color: red; ">*</span> 机械品牌：</label>
					<div class="col-sm-8">
						<input name="jxBrand" autocomplete="off" placeholder="请输入机械品牌" class="form-control" type="text" maxlength="30" th:field="*{jxBrand}" required>
					</div>
				</div>
			</div>
			<div class="col-sm-4" style="margin-left: -12px;">
				<div class="form-group">
					<label class="col-sm-4 control-label"> <span style="color: red; ">*</span>机械类型：</label>
					<div class="col-sm-8">
						<input name="jxType" autocomplete="off" placeholder="请输入机械类型" class="form-control" type="text" maxlength="30" th:field="*{jxType}" required>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"><span style="color: red; ">*</span> 机械型号：</label>
					<div class="col-sm-8">
						<input name="jxXh" autocomplete="off" placeholder="请输入机械型号" class="form-control" type="text" maxlength="30" th:field="*{jxXh}" required>
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"><span style="color: red; ">*</span> 制造厂商：</label>
					<div class="col-sm-8">
						<input name="zhizChangshang" autocomplete="off" placeholder="请输入制造厂商" class="form-control" type="text" maxlength="30" th:field="*{zhizChangshang}" required>
					</div>
				</div>
			</div>
			<div class="col-sm-4" style="margin-left: -12px;">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 发动机功率：</label>
					<div class="col-sm-8">
						<input name="fdjGlv" autocomplete="off" placeholder="请输入发动机功率" class="form-control" type="text" maxlength="30" th:field="*{fdjGlv}">
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 出厂编号：</label>
					<div class="col-sm-8">
						<input name="chucNo" autocomplete="off" placeholder="请输入出厂编号" class="form-control" type="text" maxlength="30" th:field="*{chucNo}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 国产/进口（选择）：</label>
					<div class="col-sm-8">
						<input name="guocOrJink" autocomplete="off" placeholder="请输入国产或者进口" class="form-control" type="text" maxlength="30" th:field="*{guocOrJink}">
					</div>
				</div>
			</div>
			<div class="col-sm-4" style="margin-left: -12px;">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 发动机排量：</label>
					<div class="col-sm-8">
						<input name="fdjPail" autocomplete="off" placeholder="请输入发动机排量" class="form-control" type="text" maxlength="30" th:field="*{fdjPail}">
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 发动机型号：</label>
					<div class="col-sm-8">
						<input name="fdjXingh" autocomplete="off" placeholder="请输入发动机型号" class="form-control" type="text" maxlength="30" th:field="*{fdjXingh}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 铲斗容量：</label>
					<div class="col-sm-8">
						<input name="chandRongl" autocomplete="off" placeholder="请输入铲斗容量" class="form-control" type="text" maxlength="30" th:field="*{chandRongl}">
					</div>
				</div>
			</div>
			<div class="col-sm-4" style="margin-left: -12px;">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 使用年限：</label>
					<div class="col-sm-8">
						<input name="userNianx" autocomplete="off" placeholder="请输入使用年限" class="form-control" type="text" maxlength="30" th:field="*{userNianx}">
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 发动机编号：</label>
					<div class="col-sm-8">
						<input name="fdjNo" autocomplete="off" placeholder="请输入发动机编号" class="form-control" type="text" maxlength="30" th:field="*{fdjNo}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 出厂日期：</label>
					<div class="col-sm-8">
						<input name="chucDate" autocomplete="off" placeholder="请输入出厂日期（yyyy-mm）" class="form-control" type="text" maxlength="30" th:field="*{chucDate}">
					</div>
				</div>
			</div>
			<div class="col-sm-4" style="margin-left: -12px;">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 机器颜色：</label>
					<div class="col-sm-8">
						<input name="jiqColor" autocomplete="off" placeholder="请输入机器颜色" class="form-control" type="text" maxlength="30" th:field="*{jiqColor}">
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 整机质量：</label>
					<div class="col-sm-8">
						<input name="jiqZhil" autocomplete="off" placeholder="请输入整机质量" class="form-control" type="text" maxlength="30" th:field="*{jiqZhil}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 购买日期：</label>
					<div class="col-sm-8">
						<input name="goumaiDate" autocomplete="off" placeholder="请输入购买日期" class="form-control" type="text" maxlength="30" th:field="*{goumaiDate}">
					</div>
				</div>
			</div>
			<div class="col-sm-4" style="margin-left: -12px;">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 价格：</label>
					<div class="col-sm-8">
						<input name="money" autocomplete="off" placeholder="请输入价格" class="form-control" type="text" maxlength="30" th:field="*{money}">
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 行走方式（轮胎/履带）：</label>
					<div class="col-sm-8">
						<input name="xingzFs" autocomplete="off" placeholder="请输入行走方式" class="form-control" type="text" maxlength="30" th:field="*{xingzFs}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 燃油种类（柴油/汽油）：</label>
					<div class="col-sm-8">
						<input name="ranyouType" autocomplete="off" placeholder="请输入燃油种类" class="form-control" type="text" maxlength="30" th:field="*{ranyouType}">
					</div>
				</div>
			</div>
		</div>
		<h4 class="form-header h4">外观尺寸</h4>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 长：</label>
					<div class="col-sm-8">
						<input name="carLenght" autocomplete="off" placeholder="请输入车辆长度" class="form-control" type="text" maxlength="30" th:field="*{carLenght}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 宽：</label>
					<div class="col-sm-8">
						<input name="carWidth" autocomplete="off" placeholder="请输入车辆宽度" class="form-control" type="text" maxlength="30" th:field="*{carWidth}">
					</div>
				</div>
			</div>
			<div class="col-sm-4" style="margin-left: -12px;">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 高：</label>
					<div class="col-sm-8">
						<input name="carHeight" autocomplete="off" placeholder="请输入车辆高度" class="form-control" type="text" maxlength="30" th:field="*{carHeight}">
					</div>
				</div>
			</div>
		</div>
		<h4 class="form-header h4">使用人信息</h4>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 使用人姓名：</label>
					<div class="col-sm-8">
						<input name="userMessName" autocomplete="off" placeholder="请输入用户名称" class="form-control" type="text" maxlength="30" th:field="*{userMessName}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 使用人身份证号：</label>
					<div class="col-sm-8">
						<input name="userMessCertno" autocomplete="off" placeholder="请输入使用人身份证号" class="form-control" type="text" maxlength="30" th:field="*{userMessCertno}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label">是否有行业技术服务岗位资格证（0有1无）：</label>
					<div class="col-sm-8">
						<input name="hyjsSerZgz" autocomplete="off" placeholder="请输入是否有行业技术服务岗位资格证" class="form-control" type="text" maxlength="30" th:field="*{hyjsSerZgz}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 证书编号：</label>
					<div class="col-sm-8">
						<input name="zhengshuCode" autocomplete="off" placeholder="请输入证书编号" class="form-control" type="text" maxlength="30" th:field="*{zhengshuCode}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 是否缴纳保险（0否1是）：</label>
					<div class="col-sm-8">
						<input name="shifouJnshebao" autocomplete="off" placeholder="请输入是否缴纳保险" class="form-control" type="text" maxlength="30" th:field="*{shifouJnshebao}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 是否曾转出过户（0否1是）：</label>
					<div class="col-sm-8">
						<input name="shifouCzh" autocomplete="off" placeholder="请输入曾转出过户" class="form-control" type="text" maxlength="30" th:field="*{shifouCzh}">
					</div>
				</div>
			</div>
		</div>

		<h4 class="form-header h4">其他信息</h4>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 车辆识别代号：</label>
					<div class="col-sm-8">
						<input name="cheliangSbCode" autocomplete="off" placeholder="请输入用户名称" class="form-control" type="text" maxlength="30" th:field="*{cheliangSbCode}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label"> 工程机械使用性质：</label>
					<div class="col-sm-8">
						<input name="bussinsUserType" autocomplete="off" placeholder="请输入工程机械使用性质" class="form-control" type="text" maxlength="30" th:field="*{bussinsUserType}">
					</div>
				</div>
			</div>
		</div>
	</form>
</div>
<div class="row">
	<div class="col-sm-offset-5 col-sm-10">
		<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
		<button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
	</div>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "wx/carInfo";

    function submitHandler() {
        if ($.validate.form()) {
            var data = $("#form-carInfo-edit").serializeArray();
            $.operate.saveTab(prefix + "/edit", data);
        }
    }

</script>
</body>
</html>